package com.zretc.service.impl;

import com.zretc.dao.ShopsCollectMapper;
import com.zretc.entity.ShopsCollect;
import com.zretc.service.ShopsCollectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author WHP
 */
@Service
public class ShopsCollectServiceImpl implements ShopsCollectService {
    @Autowired
    private ShopsCollectMapper shopsCollectMapper;
    @Override
    public int saveShopsCollect(ShopsCollect shopsCollect) {
        return shopsCollectMapper.insertShopsCollect(shopsCollect);
    }

    @Override
    public int deleteShopsCollectByCollectId(int shopsCollectId) {
        return shopsCollectMapper.deleteShopsCollectByCollectId(shopsCollectId);
    }
}
